package com.eimf.saf.security.dao;

import org.springframework.stereotype.Repository;

import com.eimf.saf.base.dao.BaseDao;
import com.eimf.saf.security.entity.Staff;

/**
 * @author eden
 * @date 2013-11-18 上午11:57:09
 * @Description: 用户信息持久层
 */
@Repository
public class StaffDao extends BaseDao<Staff>
{

    public Staff findStaff(final String loginName)
    {
        return (Staff) this.getSqlMapClientTemplate().queryForObject("StaffMap.findTestStaff", loginName);
    }
}
